<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="#0A5AF9">
    <title>系统反馈</title>
    <link rel="stylesheet" type="text/css" href="../css/public-head.css" />
    <link rel="stylesheet" type="text/css" href="../css/system-feedback.css" />
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/mui.min.css" />
    <style>
        html,
        body {
            background-color: #EEEEEE;
        }
    </style>
</head>

<body>

    <div class="main">
        <div>您的意见就是我们改进的动力^_­^</div>
        <div id="font_number">
            <!--0/200-->
            <font>
                <font color="#ACACAC"><span id="info_limit">0</span>/200</font>
            </font>
        </div>
        <form method="post">
            <!--分别是行数和列数-->
            <textarea class="feed-back" id="feedback" cols="50" rows="10" placeholder="输入您的反馈意见" style="color:#1B1B1B;"></textarea><br>
            <textarea cols="1" rows="1" placeholder="如何称呼？" style="color:#1B1B1B;"></textarea><br>
            <textarea cols="1" rows="1" placeholder="您的联系方式？" style="color:#1B1B1B;"></textarea><br>
        </form>
        <div class="commit"><button>提交</button></div>
    </div>



</body>
<script type="text/javascript" src="../script/public-head.js"></script>
<script type="text/javascript" src="../script/rem.js"></script>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/mui.js"></script>

<script type="text/javascript">
    headInner({
        title: "",
        //headleft
        headl: '<a href="javascript:history.back(-1)" style="color:white" class="mui-icon mui-icon-left-nav" tapmode onclick="api.closeWin()"></a>',
        //headright
        headr: '<a style="color:white"></a>',
        color: "", //默认是蓝色
        padding: "0px 0px 0px",
    })

    function customer_feedback() {
        api.openWin({
            name: 'customer-service-feedback',
            url: '../html/customer-service-feedback.html'
        });
    }
    //输入框字数限制
    //控制字数
    var lim = new limit();
    lim.txtNote = document.getElementById("feedback");
    lim.txtLimit = document.getElementById("info_limit");
    lim.limitCount = 200;
    lim.init();

    function limit() {
        var txtNote; //文本框
        var txtLimit; //提示字数的input
        var limitCount; //限制的字数
        this.init = function() {
            txtNote = this.txtNote;
            txtLimit = this.txtLimit;
            limitCount = this.limitCount;
            txtNote.maxLength = limitCount;
            txtNote.onkeydown = function() {
                txtLimit.innerText = txtNote.value.length;
            };
            txtNote.onkeyup = function() {
                txtLimit.innerText = txtNote.value.length;
            };
        }
    }
</script>

</html>
